﻿using System.Reflection;

namespace Service.Core.Repository.UnitOfWorks
{
    public interface IUnitOfWorkManage
    {
        int TranCount { get; }

        void BeginTran();
        //void BeginTran(MethodInfo method);
        void CommitTran();
        //void CommitTran(MethodInfo method);
        void RollbackTran();

        bool HasActiveTransaction();
        //void RollbackTran(MethodInfo method);
    }
}